﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using System.Collections;

namespace Churchtoolkit.Utils.Extentions
{
    public static class DataListExtension
    {
        public static void FillDataList(this DataList dlist, IEnumerable list)
        {
            dlist.DataSource = list;
            dlist.DataBind();
        }
    }
}
